import xadmin
from .models import Course


class CourseXadmin(object):
    list_display = ['css_name', 'css_start_time', 'css_end_time', 'css_num', 'css_max_num', 'css_teacher', 'css_desc']
    model_icon = 'fa fa-book'


xadmin.site.register(Course, CourseXadmin)
